package kycadmininnerservicelogic

import (
	"code.bydev.io/cht/customer/kyc_admin_service/internal/app/serv"
	"context"

	"code.bydev.io/cht/customer/kyc_admin_service/service/private/internal/svc"

	"git.bybit.com/svc/stub/pkg/pb/api/kycadmin"
)

// Deprecated
type KycAdminInnerServiceAppendLevel2DataLogic struct {
	svcCtx *svc.ServiceContext
}

func NewKycAdminInnerServiceAppendLevel2DataLogic(
	svcCtx *svc.ServiceContext,
) *KycAdminInnerServiceAppendLevel2DataLogic {
	return &KycAdminInnerServiceAppendLevel2DataLogic{
		svcCtx: svcCtx,
	}
}

// 增加补Lv2数据接口
func (l *KycAdminInnerServiceAppendLevel2DataLogic) AppendLevel2Data(
	ctx context.Context,
	in *kycadmin.AppendLevel2DataRequest,
) (*kycadmin.AppendLevel2DataResponse, error) {
	return serv.NewService(l.svcCtx.NothingEnv).AppendLevel2Data(ctx, in)
}
